package com.gjzhao.fmmall.config;

import ch.qos.logback.core.PropertyDefinerBase;
import org.springframework.stereotype.Component;

/**
 * @Description: 日志路径动态配置
 * @Author: gjzhao
 * @Date Created in 2022-01-04 8:28 下午
 */
@Component
public class DynamicProperty extends PropertyDefinerBase {

    @Override
    public String getPropertyValue() {
        //配置动态日志生成路径
        return "/Users/ouxiaomin/IdeaProjects/myIdeaProject/fmmall/log";
    }
}
